package org.itboys.core.entity.mongo;

import lombok.Data;
import org.itboys.core.common.NotNull;
import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * 作者：zzq
 * 时间：2018/12/13
 * 描述：报废记录
 */
@Data
@Entity(value = "SundayHarmRecord", noClassnameStored = true)
public class SundayHarmRecord extends BaseMongoEntity {
    private Long trayId;//托盘id
    private String image;//损坏图片

    public SundayHarmRecord() {
    }

    public SundayHarmRecord(Long trayId, String image) {
        this.trayId = trayId;
        this.image = image;
    }
}
